<?php
include('common.php');

//header('Content-type: text/plain; charset=GB2312');
$filepath = END_ROOT.$_POST['file'];
if(file_exists($filepath))
{
	echo file_get_contents($filepath);
}
else
{
	echo 'file not found!';
}